/*********************************************
cosole
input normal string and passwd string
*********************************************/
import java.io.Console;

public class Main {
    public static void main(String[] args){
	Console console=System.console();
	String name=console.readLine("input name:");
	
	char[] passwd=console.readPassword("input passwd:");
	System.out.println("name="+name);
	System.out.println("passwd="+new String(passwd));
    }
}
